@{
    Layout = null;
}
<link href="~/css/Login.css" rel="stylesheet" />
<div class="allLogin">
    <form action="/User/Login/" method="post">
        <div class="login" style="text-align:center;">
            <div class="information">
                <ul>
                    <li><input name="userName" type="text" placeholder="name" /></li>
                    <li>
                        <input name="password" id="demo_input" type="password" placeholder="password" />
                       <a onclick="hideShowPsw()"><img src="~/css/眼睛.png" alt="眼睛" /></a> 
                    </li>
                </ul>
            </div>
            <div><alert class="types"> @ViewData["Message"]</alert></div>
            <div><input class="loginDesgin" type="submit" value=" Login" /></div>
            <div class="sectionTwo">
                <h3><a href="/User/Register">register</a><img class="picture" src="~/css/感叹号.png" alt="感叹号" /></h3>
            </div>
            <p>Copyright&copy; 2017 SingularityClub All Rights Reserved</p>
        </div>
    </form>
</div>
<div class="runFloat">
    <img src="~/css/3.gif" />
</div>
<script type="text/javascript">
    var demoInput = document.getElementById("demo_input");
    function hideShowPsw() {
        if (demoInput.type == "password") {
            demoInput.type = "text";
        }
        else {
            demoInput.type = "password";
        }
    }
</script>

